package mapStudy;

import java.util.Map;
import java.util.TreeMap;

public class redblacktree {

	public static void main(String[] args) {
		Map<Integer, String> map = new TreeMap<Integer, String>();
		map.put(1, "1");
		map.put(2, "2");
		map.put(3, "3");
		map.put(4, "4");
		map.forEach((k, v) -> System.out.println(v));
	}

}
